#define _CRT_SECURE_NO_WARNINGS 1

class Solution {
public:
    int percentageLetter(string s, char letter) {
        double sgl = 0.0;
        for (auto& c : s)
        {
            if (c == letter)
                sgl += 1;
        }
        double r = (double)(sgl / s.size());
        cout << r << endl;
        return r * 100;
    }
};